package cn.lg.soar.boot.fc.entity.vo;

import cn.lg.soar.core.annotations.constraints.group.Create;
import cn.lg.soar.core.annotations.constraints.group.Update;
import cn.lg.soar.database.base.entity.BaseEntity;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * 合同表
 * @author ZhuanZ（无密码）
 * @since 2025-02-18
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@Data
public class ContractVo {

    /** 主键id */
    @ApiModelProperty(value = "主键")
    private Long id;

    /** 模板id */
    @ApiModelProperty(value = "模板id")
    private Long templateId;

    /** 租房ID */
    @ApiModelProperty(value = "租房ID")
    private Long tenancyId;

    /** 合同编码 */
    @ApiModelProperty(value = "合同编码")
    private String code;

    /** 合同名 */
    @ApiModelProperty(value = "合同名")
    private String name;

    /** 合同待签路径 */
    @ApiModelProperty(value = "合同待签路径")
    private String voucherUrl;

    /** 签署后路径 */
    @ApiModelProperty(value = "签署后路径")
    private String signUrl;

    /** 签订时间 */
    @ApiModelProperty(value = "签订时间")
    private LocalDateTime signTime;

    /** 状态(0-待签 1-待审核 2-通过 9-拒绝) */
    @ApiModelProperty(value = "状态(0-待签 1-待审核 2-通过 9-拒绝)")
    private Integer state;

    @ApiModelProperty(value = "用户姓名")
    private String userName;

    @ApiModelProperty(value = "房间信息")
    private String roomInfo;

}
